package de.tu_darmstadt.gdi1.xcom.model.elements;

public class Human extends Mob {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3677615089725387278L;
	private int munition;
	private int weaponDamage;
	
	public Human(int x, int y) {
		super(x, y);
	}

	public Human(int x, int y, DirectionEnum initDirection, int initHealth, int initPoints) {
		super(x, y, initDirection, initHealth, initPoints);
	}


	@Override
	public GameElement clone() {
		// TODO Auto-generated method stub
		return new Human(position.getX(),position.getY(), direction, this.getHealth(), this.getPoints());
	}


	@Override
	public boolean isWall() {
		return false;
	}

	public void setMunition(int munition) {
		this.munition = munition;
	}
	
	public void decreaseMunition(int value){
		munition -= value;
	}

	public int getMunition() {
		return munition;
	}

	public void setWeaponDamage(int weaponDamage) {
		this.weaponDamage = weaponDamage;
	}

	public int getWeaponDamage() {
		return weaponDamage;
	}
	
	public String toString() {
		return "@";
	}
}
